﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ControlAccessUser.Presenter;
using ControlAccessUser.Model;

namespace ControlAccessUser.Tests
{
    public class MockPrincipalView: IPrincipalView
    {
       
        public void GoRegisterUser()
        {
            throw new NotImplementedException();
        }

        public bool UserReallyGoOut  
        {
            get;
            set;
        }

        public DateTime DateTimeLogin
        {
            get;
            set;
        }

        public void Logout()
        {

        }
        public void GoSearchUser(User User)
        {

        }
        public Model.User UserLogin
        {
            get;
            set;
        }

        public Model.Login Login
        {
            get;
            set;
        }
        public void EnterDataLogoutSuccessful()
        {            
            UserReallyGoOut = true;
        }

        public void EnterDataLogoutCanceled()
        {
            UserReallyGoOut = false;
        }
    }
}
